//
//  InSoundFavouriteTool.h
//  Inner  Voice
//
//  Created by 徐海宇 on 16/3/25.
//  Copyright © 2016年 徐海宇. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface InSoundFavouriteTool : NSObject

//userid是关注的人的id  user_id是用户id
//增
+ (BOOL)insertSound:(NSString *)soundid WithUser_id:(NSString *)user_id;

+ (BOOL)insertChannel:(NSString *)channelid WithUser_id:(NSString *)user_id;

+ (BOOL)insertUser:(NSString *)userid WithUser_id:(NSString *)user_id;

//删
+ (BOOL)deleteSound:(NSString *)soundid WithUser_id:(NSString *)user_id;

+ (BOOL)deleteChannel:(NSString *)channelid WithUser_id:(NSString *)user_id;

+ (BOOL)deleteUser:(NSString *)userid WithUser_id:(NSString *)user_id;

//查
+ (BOOL)selectSound:(NSString *)soundid WithUser_id:(NSString *)user_id;

+ (void)closeDataBase;

+ (BOOL)selectchannel:(NSString *)channelid WithUser_id:(NSString *)user_id;

+ (BOOL)selectFriend:(NSString *)userid WithUser_id:(NSString *)user_id;

+ (NSString *)sadBox;

@end
